package com.jswlw.service.base;

import com.jswlw.entity.base.Menu;
import com.jswlw.vo.MenuTree;

import java.util.List;

/**
 * 菜单
 * Created by wu on 2017-12-07.
 */
public interface MenuService extends BaseService<Menu> {

    List<MenuTree> createMenuTree();

    /**
     * 菜单树
     * @return
     */
    List<Menu> treeList();

    /**
     * 根据角色查询菜单
     * @param roleId
     * @return
     */
    List<MenuTree> findMenu4Role(Integer roleId);
}
